Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37
Warning: file_put_contents(aCache/aDaily/post/cppproglib/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50 Библиотека C/C++ разработчика | cpp, boost, qt | Telegram Webview: cppproglib/5721 -
Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.
🎯 Exception team: • Чистый код без проверок на каждом шаге • RAII + exceptions = идеальное сочетание • Стандартный C++ подход • Exception safety гарантии
📋 Error codes army:
• Предсказуемая производительность • Нет hidden control flow • Embedded-friendly • std::expected в C++23 спасет мир
GOOGLE STYLE: Exceptions запрещены, только error codes!
РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.
А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?
Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.
🎯 Exception team: • Чистый код без проверок на каждом шаге • RAII + exceptions = идеальное сочетание • Стандартный C++ подход • Exception safety гарантии
📋 Error codes army:
• Предсказуемая производительность • Нет hidden control flow • Embedded-friendly • std::expected в C++23 спасет мир
GOOGLE STYLE: Exceptions запрещены, только error codes!
РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.
А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?
Telegram is a free app and runs on donations. According to a blog on the telegram: We believe in fast and secure messaging that is also 100% free. Pavel Durov, who shares our vision, supplied Telegram with a generous donation, so we have quite enough money for the time being. If Telegram runs out, we will introduce non-essential paid options to support the infrastructure and finance developer salaries. But making profits will never be an end-goal for Telegram.
Tata Power whose core business is to generate, transmit and distribute electricity has made no money to investors in the last one decade. That is a big blunder considering it is one of the largest power generation companies in the country. One of the reasons is the company's huge debt levels which stood at ₹43,559 crore at the end of March 2021 compared to the company’s market capitalisation of ₹44,447 crore.
Библиотека C C разработчика | cpp boost qt from tr